package com.jince.datacenter.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;

@SuppressWarnings("serial")
public class DayActivity implements Serializable {

	@Id
	private int id;

	@Column(name = "nature_date")
	private Date natureDate;

	@Column(name = "old_counts")
	private int oldCounts;

	@Column(name = "new_counts")
	private int newCounts;

	@Column(name = "create_time")
	private Date createTime;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getNatureDate() {
		return natureDate;
	}

	public void setNatureDate(Date natureDate) {
		this.natureDate = natureDate;
	}

	public int getOldCounts() {
		return oldCounts;
	}

	public void setOldCounts(int oldCounts) {
		this.oldCounts = oldCounts;
	}

	public int getNewCounts() {
		return newCounts;
	}

	public void setNewCounts(int newCounts) {
		this.newCounts = newCounts;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "Student [id=" + id + ", natureDate=" + natureDate
				+ ", oldCounts=" + oldCounts + ", newCounts=" + newCounts
				+ ", createTime=" + createTime + "]";
	}
}
